Bookly\Lib\DataHolders\Booking\Order S

Total Complexity 31
Dependencies 13
Dependents 11
Total lines 243
Lines of code 111
Logical lines of code 62
Comment lines 86
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
createFromPayment()
B
39 16 61
getFlatItems()
S
63 3 11
createFromItem()
S
67 2 7
__construct()
S
81 1 3
getCustomer()
S
82 1 3
setPayment()
S
77 1 4
hasPayment()
S
81 1 3
getPayment()
S
82 1 3
addItem()
S
76 1 4
hasItem()
S
79 1 3
getItem()
S
80 1 3
getItems()
S
82 1 3
create()
S
80 1 3